package com.leyou;

import com.leyou.privilege.config.JwtProperties;
import com.leyou.privilege.config.PasswordConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: wangzibeng
 * Date: 2019/5/16 0016
 * Time: 11:41
 */

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.leyou.privilege.mapper")
@EnableConfigurationProperties(value = {PasswordConfig.class, JwtProperties.class})
public class LyPrivilegeApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyPrivilegeApplication.class, args);
    }
}
